package com.cloud.pole.mapper.goods;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cloud.pole.shop.model.entity.goods.ShopGoodsModelAttr;

import tk.mybatis.mapper.common.Mapper;

public interface ShopGoodsModelAttrMapper extends Mapper<ShopGoodsModelAttr> {
	public List<ShopGoodsModelAttr> selectAlle(Integer shopId);
	
	public void addGoodsModelBy(ShopGoodsModelAttr shopGoodsModelAttr);

	public ShopGoodsModelAttr selectByAttrValueName(@Param("modelAttrName") String name,@Param("shopId") Integer shopId);
	
	public ShopGoodsModelAttr selectByAttrValEs(@Param("modelAttrName") String modelAttrName,@Param("shopId") Integer shopId);
	
}